import request from "@/utils/request";


export function getPayAllList(params) {
  return request({
    method: "GET",
    url: "member/payment/getPayAllList",
    params,
  });
}
export function listMpPayment(params) {
  return request({
    method: "GET",
    url: "member/payment/getList",
    params,
  });
}
export function addMpPayment(data) {
  return request({
    method: "POST",
    url: "member/payment/add",
    data,
  });
}
export function updateMpPayment(data) {
  return request({
    method: "POST",
    url: "member/payment/change",
    data,
  });
}
export function delMpPayment(ids) {
  return request({
    method: "POST",
    url: "member/payment/del",
    data: { ids },
  });
}
export function getMpPayment(id) {
  return request({
    method: "GET",
    url: "member/payment/detail",
    params: { id },
  });
}
export function getMpPaymentTemplateList() {
  return request({
    method: "GET",
    url: "member/payment/getTemplateList",
  });
}
